package com.qpf.mycms.api.pojo.dto;

import com.qpf.mycms.api.abstracts.BaseResponse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "用户信息")
public class UserDto extends BaseResponse implements Serializable {
    @Schema(title = "账号", name = "account")
    private String account;
    @Schema(title = "用户名", name = "username")
    private String username;
    @Schema(title = "唯一id", name = "id")
    private Long id;

    /**
     * 昵称
     */
    @Schema(title = "昵称", name = "nickname")
    private String nickname;

    /**
     * 实名
     */
    @Schema(title = "实名", name = "realName")
    private String realName;

    /**
     * 类型(0-未知)
     */
    @Schema(title = "类型(0-未知)", name = "userType")
    private Integer userType;

    /**
     * 邮箱
     */
    @Schema(title = "邮箱", name = "email")
    private String email;

    /**
     * 手机号码
     */
    @Schema(title = "手机号码", name = "mobile")
    private String mobile;
    @Schema(title = "密码", name = "password")
    private String password;

    /**
     * 用户性别(0-未知,1-男,2-女)
     */
    @Schema(title = "用户性别(0-未知,1-男,2-女)", name = "gender")
    private Integer gender;

    /**
     * 个性签名
     */
    @Schema(title = "签名", name = "signature")
    private String signature;
    /**
     * 个性签名
     */
    @Schema(title = "个性签名", name = "signature")
    private String selfSignature;

    /**
     * 生日
     */
    @Schema(title = "生日", name = "birthday")
    private Date birthday;

    /**
     * 用户头像
     */
    @Schema(title = "用户头像", name = "avatar")
    private String avatar;

    /**
     * 状态(0-禁用,1-启用)
     */
    @Schema(title = "状态(0-禁用,1-启用)", name = "status")
    private Integer status;
}
